package cn.java89.userservice.mybatis.service;

import cn.java89.userservice.mybatis.entity.Page;
import cn.java89.userservice.mybatis.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

//service controller
public interface IStudentService extends IService<Student> {
    /**
     * 学生登录
     */
    public Student login(String phone, String pass);

    /**
     * 分页
     */
    public Page search(int pageNo,
                       int pageSize,
                       String sname,
                       String qq,
                       String phone,
                       Date enterStart, Date enterEnd);
}
